package com.itwang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.itwang.config.MybatisPlusConfig;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author itWang
 * @since 2024-07-30
 */
@Data
@TableName("m_blog")
@ApiModel(value = "Blog对象", description = "")
public class Blog extends MybatisPlusConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "title")
    private String title;
    @TableField(value = "description")
    private String description;
    @TableField(value = "content")
    private String content;
    @TableField(value = "created")
    private LocalDateTime created;
    @TableField(value = "status")
    private Integer status;



}
